					<?php $_type = $this->query->is_page ? 'page' : 'post'; ?>
					<a name="comment"></a>
					<div id="comment">
						<h3>最新评论<code>[<a href="<?php echo $this->url($_type, $post->ID); ?>/feed" target="_blank">订阅&gt;&gt;</a>]</code></h3>
						<div id="comment-list">loading..</div>
						<div class="clear"></div>
					</div>
					<div id="comment-page"></div>
					<div class="clear"></div>
					<a name="respond"></a>
					<div id="respond">
						<?php if($post->comment_status=='open'){ ?>
						<h3>发表评论</h3>
						<?php if($this->logged_user->ID == 0) {?>
						<p>电子邮件地址不会被公开。 必填项已用 <span class="required">*</span> 标注</p>
						<?php } ?>
						<form method="post" id="comment-form" action="<?php echo $this->url($_type,$post->ID);?>">
						<input type="hidden" name="pid" id="pid" value="<?php echo $post->ID; ?>" />
						<input type="hidden" name="parent" id="parent" value="0" />
						<input type="hidden" name="logged_user_id" id="logged_user_id" value="<?php echo $this->logged_user->ID; ?>" />
						<ul>
							<?php if($this->logged_user->ID > 0) {?>
							<li>您已经以 <a href="<?php echo $this->config->WP_URL['profile']; ?>"><?php echo $this->logged_user->display_name; ?></a> 的身份登录。<a href="<?php echo $this->url('home');?>/boot/logout">登出</a>？</li>
							<?php } else { ?>
							<?php
								$CF = cmsdream_login::get_sc('cmsdream-comment-form');
								$CF = !empty($CF) ? unserialize($CF) : array('author'=>'','url'=>'','email'=>'');
							?>
							<li>
								<label for="email">电子邮件 <span class="required">*</span></label>
								<input id="email" type="text" size="30" value="<?php echo $CF['email'];?>" maxlength="150" name="email" />
							</li>
							<li>
								<label for="username">姓名 <span class="required">*</span></label>
								<input id="username" type="text" size="30" value="<?php echo $CF['author'];?>" maxlength="20" name="username" />
							</li>
							<li>
								<label for="url">站点</label>
								<input id="url" type="text" size="50" maxlength="250" value="<?php echo $CF['url'];?>" name="url" />
							</li>
							<?php if($this->config->CV_CODE) { ?>
							<li>
								<label for="vcode">验证码 <span class="required">*</span></label>
								<input id="vcode" type="text" size="8" maxlength="6" value="" name="vcode" onfocus="Comment.showCode(false);" />
								<span><img src="#" id="comment-code" border="0" onclick="Comment.showCode(true);" title="点击显示验证码" /></span>
							</li>
							<?php } ?>
							<?php } ?>
							<li>
								<label for="comment">评论 <span class="required">*</span></label>
								<p id="comment-quote"></p>
								<textarea id="comment" style="width:95%;" name="comment"></textarea>
							</li>
							<!--<li class="i">您可以使用这些 <abbr title="HyperText Markup Language">HTML</abbr> 标签和属性：<code>&lt;a href=&quot;&quot; title=&quot;&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;cite&gt; &lt;code&gt; &lt;del datetime=&quot;&quot;&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=&quot;&quot;&gt; &lt;strike&gt; &lt;strong&gt; </code></li>  -->
							<li><input id="submit" type="submit" value="发表评论" name="submit" onclick="return Comment.Submit();" /></li>
						</ul>
						</form>
						<?php } else { ?>
						<p class="error">该文章评论已经被关闭！</p>
						<?php } ?>
						<div class="clear"></div>
					</div>
					<div class="clear"></div>
